<script setup>
import { useUserStore } from '../store/user';
const store = useUserStore()
</script>

<template>
    <div class="box">
        <h2>用户名</h2>
        <input type="text">
        <h2>密码</h2>
        <input type="password">
        <br>
        <button @click="store.login">登录</button>
    </div>
</template>
  
<style lang="less">

</style>
  